import requests
import re
url="https://www.lingdiankanshu.co/16817/"
ls=requests.get(url).text
ze=r'<dd> <a style="" href="(.+?)">(.+?)</a></dd>'
mul=re.findall(ze,ls,re.S)
#print(type(mul) )
for zj in mul:
     #print(zj[0])
     #print(zj[1])
     title=zj[1]
#print(type(title))
     link=zj[0]
#print(type(link))
#print(link)
     url2="https://www.lingdiankanshu.co/16817/"+link
     nr=requests.get(url2).text
     #print(nr)
     nrze=r'<div id="content">(.+?)Ps:书友们，我是烟雨江南'
     zhengw=re.findall(nrze,nr,re.S)
     print(str(title)+'\n'+str(zhengw)+'\n')



